package com.dingyx.ps.model.export;

import cn.afterturn.easypoi.excel.annotation.Excel;
import lombok.Data;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @description 发票记录导出
 * @author zhangyiming@zencor.cn
 * @date 2021-05-13
 */
@Data
public class InvoiceRecordExport implements Serializable {

    private static final long serialVersionUID = 1L;

    @Excel(name = "开票流水号", width = 50,orderNum = "1")
    private String recordNo;

    @Excel(name = "商户名称", width = 50,orderNum = "2")
    private String enterpriseName;

    @Excel(name = "发票类型", replace = {"普通发票_0","专用发票_1"},width = 50,orderNum = "3")
    private Integer invoiceType;

    @Excel(name = "开票金额", width = 50,orderNum = "4")
    private BigDecimal invoicePrice;

    @Excel(name = "申请时间", exportFormat = "yyyy-MM-dd HH:mm:ss",width = 50,orderNum = "5")
    private Date applicationDate;

    @Excel(name = "开票状态", width = 50,replace = {"申请中_0","开票中_1","已开票_2"},orderNum = "6")
    private Integer recordStatus;
}

